package com.virtual.repository.common.operators;

/**
 * An enumeration of all possible criteria-defining operators.
 * @author Zielony
 * @version 1.0
 */
public enum CriteriaOperator {
	/** 
	 * The equivalent of the SQL '=' operator.
	 */
	EQUALS{public String toString() {return "=";}},
	
	/** 
	 * The equivalent of the SQL '>' operator.
	 */
	GRATER{public String toString() {return ">";}},
	
	/** 
	 * The equivalent of the SQL '>=' operator.
	 */
	GRATER_OR_EQUAL{public String toString() {return ">=";}},
	
	/** 
	 * The equivalent of the SQL '<' operator.
	 */
	LESSER{public String toString() {return "<";}},
	
	/** 
	 * The equivalent of the SQL '<=' operator.
	 */
	LESSER_OR_EQUAL{public String toString() {return "<=";}},
	
	/** 
	 * The equivalent of the SQL '<>' operator.
	 */
	NOT_EQUAL{public String toString() {return "<>";}},
	
	/** 
	 * The equivalent of the SQL 'IN' operator.
	 */
	IN,
	
	/** 
	 * The equivalent of the SQL 'NOT IN' operator.
	 */
	NOT_IN{public String toString() {return "NOT IN";}},
	
	/** 
	 * The equivalent of the SQL 'LIKE' operator.
	 */
	LIKE,
	
	/** 
	 * The equivalent of the SQL 'NOT LIKE' operator.
	 */
	NOT_LIKE{public String toString() {return "NOT LIKE";}}
}